package com.yangkunhong.www.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

//自动生成get、set lombok
@Data
//创建无参构造  lombok
@NoArgsConstructor
//创建全参构造  lombok
@AllArgsConstructor
//生成Builder类，支持链式操作  lombok
@Builder
public class PageView {
    /**
     * 主键ID
     * 需要设置为自增
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer illnessId;
    private Integer pageViews;
}
